package game;
import java.awt.*;
import javax.swing.*;

public class Frame extends JFrame
{
	private Panel pane;
	private JMenuBar mBar;
	private int width;
	private int height;
	public Frame(Panel p, JMenuBar mB, int width, int height)
	{
		this.pane= p;
		this.mBar= mB;
		this.width= width;
		this.height= height;
		setSize(width, height);
		setContentPane(p);
		setJMenuBar(mB);	
	}
	public Frame(JPanel p, int width, int height)
	{
		this.width= width;
		this.height= height;
		setSize(width, height);
		setContentPane(p);
	}	
}
